package com.bbcare.department.plat.entity;
import java.io.Serializable;

import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

   /**
    * DEPT_EDUCATION_CONTENT 实体类
    * Fri Apr 14 11:16:31 CST 2017 ******
    */ 


@Entity
public class EducationContent  implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	//模板ID
	private String templateId;
	//模板变量值 与模板变量一一对应
	private String templateValue;
	//创建人
	private String createAuthor;
	//创建时间
	private String createTime;
	private String remark1;
	//科室ID
	private String deptId;
	private String updateTime;
	//宣教状态
	private String status;
	private String title;
	private long browseCount;
	private String isTop;
	private String content;//渲染之后的html文件
	//宣教模板图标
	private String bannelUrl;
	//推送规则类型
	private String type;
	//权重
	private String priority;
	//推送规则内容
	private String pushRule;
	//预览二维码
	private String qrcode;
	//租户id
	private String tenentId;
	
	public String getTenentId() {
		return tenentId;
	}
	public void setTenentId(String tenentId) {
		this.tenentId = tenentId;
	}
	public String getPriority() {
		return priority;
	}
	public void setPriority(String priority) {
		this.priority = priority;
	}
	public String getPushRule() {
		return pushRule;
	}
	public void setPushRule(String pushRule) {
		this.pushRule = pushRule;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getBannelUrl() {
		return bannelUrl;
	}
	public void setBannelUrl(String bannelUrl) {
		this.bannelUrl = bannelUrl;
	}
	
	public String getQrcode() {
		return qrcode;
	}

	public void setQrcode(String qrcode) {
		this.qrcode = qrcode;
	}

	public String getIsTop() {
		return isTop;
	}

	public void setIsTop(String isTop) {
		this.isTop = isTop;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public void setId(String id){
		this.id=id;
	}

	public String getId(){
		return id;
	}

	public void setTemplateId(String templateId){
		this.templateId=templateId;
	}

	public String getTemplateId(){
		return templateId;
	}

	public void setTemplateValue(String templateValue){
		this.templateValue=templateValue;
	}

	public String getTemplateValue(){
		return templateValue;
	}

	public void setCreateAuthor(String createAuthor){
		this.createAuthor=createAuthor;
	}

	public String getCreateAuthor(){
		return createAuthor;
	}

	public void setCreateTime(String createTime){
		this.createTime=DateUtil.getTimeStampSec(createTime);
	}

	public String getCreateTime(){
		return createTime;
	}

	public void setRemark1(String remark1){
		this.remark1=remark1;
	}

	public String getRemark1(){
		return remark1;
	}

	public void setDeptId(String deptId){
		this.deptId=deptId;
	}

	public String getDeptId(){
		return deptId;
	}

	public void setUpdateTime(String updateTime){
		this.updateTime=DateUtil.getTimeStampSec(updateTime);
	}

	public String getUpdateTime(){
		return updateTime;
	}

	public void setStatus(String status){
		this.status=status;
	}

	public String getStatus(){
		return status;
	}

	public void setTitle(String title){
		this.title=title;
	}

	public String getTitle(){
		return title;
	}

	public void setBrowseCount(long browseCount){
		this.browseCount=browseCount;
	}

	public long getBrowseCount(){
		return browseCount;
	}
}

